package dk.rhok.model;

/**
 * Implementation of ShelterAssessment
 * 
 * @author Jonas Grann <jonasgrann@gmail.com>
 * @author Markus Petersen <markus@cs.au.dk>
 * @since 0.1
 */

public class ShelterAssessmentImpl implements ShelterAssessment {

	private long timestamp;
	private double latitude;
	private double longitude;
	private int households;
	private int people;
	private int dead;
	private int tents;
	private int jerryCans;
	private int kitchenSet;
	private int hygineKit;
	private String type = "shelter"; // Type for the json file (map)
	
	/**
	 * Creates a new shelter assessment
	 * @param timestamp
	 * @param latitude
	 * @param longitude
	 * @param households
	 * @param people
	 * @param dead
	 * @param tents
	 * @param jerryCans
	 * @param kitchenSet
	 * @param hygineKit
	 */
	public ShelterAssessmentImpl (long timestamp, double latitude, double longitude, int households, int people, int dead, int tents, int jerryCans, int kitchenSet, int hygineKit){
		this.timestamp = timestamp;
		this.latitude = latitude;
		this.longitude = longitude;
		this.households = households;
		this.people = people;
		this.dead = dead;
		this.tents = tents;
		this.jerryCans = jerryCans;
		this.kitchenSet = kitchenSet;
		this.hygineKit = hygineKit;
	}
	
	@Override
	public long timestamp() {
		return timestamp;
	}

	@Override
	public double latitude() {
		return latitude;
	}

	@Override
	public double longitude() {
		return longitude;
	}

	@Override
	public int households() {
		return households;
	}

	@Override
	public int people() {
		return people;
	}

	@Override
	public int dead() {
		return dead;
	}

	@Override
	public int tents() {
		return tents;
	}

	@Override
	public int jerryCans() {
		return jerryCans;
	}

	@Override
	public int kitchenSet() {
		return kitchenSet;
	}

	@Override
	public int hygineKit() {
		return hygineKit;
	}

	@Override
	public String getName() {
		return type;
	}
	
	@Override
	public String getType() {
		return type;
	}
}
